//
//  F2DTransform.h
//  Framework2D
//
//  Created by Silvina Roldan on 03/06/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
//uriel - agregar propiedas como posicion, escala y rotacion. Funcion que devuelva una matriz 
//column major (opengl), row major
//add parent
//add globalMatrix

@interface F2DTransform : NSObject
{
    NSArray *globalMatrix;
    BOOL isDirty;
    CGSize _scale;
    CGPoint _position;
    float _rotation;
}

@property(nonatomic) CGSize scale;
@property(nonatomic) CGPoint position;
@property(nonatomic) float rotation;
@property(nonatomic,strong) NSArray *globalMatrix;
@property BOOL isDirty;

- (void) update;
@end

